package com.vvlive.caibao.smartcity.bean;

import java.io.Serializable;

/**
 * Created by lenovo on 2015/7/4.
 * 订餐店铺介绍信息类
 */
public class LifeOrderMealStoreBean implements Serializable{
    private int icn;           //店铺图标
    private String name;        //店铺名
    private int pingxing;        //星级评价
    private String xffw;        //消费范围
    private Double latitude;    //纬度
    private Double longitude;   //经度
    private String des;         //定位地址详细描述
    private double qisong;      //起送
    /**
     * @param icon 店铺图标
     * @param name 店铺名
     * @param pingxing 星级评价
     * @param xffw 消费范围
     * @param latitude 纬度
     * @param longitude 经度
     * @param des 定位地址详细描述
     *
     * */
    public LifeOrderMealStoreBean(int icon, String name, int pingxing, String xffw, Double latitude, Double longitude, String des, double qisong) {
        icn = icon;
        this.name = name;
        this.pingxing = pingxing;
        this.xffw = xffw;
        this.latitude = latitude;
        this.longitude = longitude;
        this.des = des;
        this.qisong = qisong;
    }

    public int getIcn() {
        return icn;
    }

    public void setIcn(int icn) {
        this.icn = icn;
    }

    public double getQisong() {
        return qisong;
    }

    public void setQisong(double qisong) {
        this.qisong = qisong;
    }

    public int getPingxing() {
        return pingxing;
    }

    public void setPingxing(int pingxing) {
        this.pingxing = pingxing;
    }

    public int getIcon() {
        return icn;
    }

    public void setIcon(int icon) {
        icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getXffw() {
        return xffw;
    }

    public void setXffw(String xffw) {
        this.xffw = xffw;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

//    @Override
//    public int describeContents() {
//        return 0;
//    }
//
//    @Override
//    public void writeToParcel(Parcel dest, int flags) {
//        // 1.必须按成员变量声明的顺序封装数据，不然会出现获取数据出错
//        // 2.序列化对象
//        dest.writeInt(icon);
//        dest.writeString(name);
//        dest.writeInt(pingjia);
//        dest.writeString(xffw);
//        dest.writeDouble(latitude);
//        dest.writeDouble(longitude);
//        dest.writeString(des);
//    }
}
